'use strict'

const config = {
    api: {
        base: 'http://rap.taobao.org/mockjs/9800/',
        list: 'api/videoList',
        like: 'api/like',
        comment: 'api/comment',
        message: 'api/message',
        verify:  'api/register/verify', // 用户注册
        code: 'api/register/code', // 获取验证码
        signature: 'api/signature',
        saveUserInfo: 'api/saveUserInfo'
    },

    map: {
        method: 'POST',
        headers: {
            'Accept': 'application/json',
            'Content-Type': 'application/json',
        },
        follow: 20,
        timeout: 8000,
        size: 0,
    }
}

module.exports = config;
